﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace AAA.Chart.Component
{
    public class ConstantLine
    {
        private double _dValue;
        private DateTime _dtTime;
        private Color _cColor;

        public ConstantLine(DateTime dTime, double dValue, Color cLineColor)
        {
            _dtTime = dTime;
            _dValue = dValue;
            _cColor = cLineColor;
        }

        public double Value
        {
            get { return _dValue; }
            set { _dValue = value; }
        }

        public DateTime Time
        {
            get { return _dtTime; }
            set { _dtTime = value; }
        }

        public Color Color
        {
            get { return _cColor; }
            set { _cColor = value; }
        }
    }
}
